<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>设备信息</title>
  <link rel="stylesheet" href="https://unpkg.com/layui@2.8.18/dist/css/layui.css">
  <link rel="stylesheet" href="public/style.css">
  <script>
    let ZQLGLOBAL = {
      serverIp: '192.168.1.169',// 修改成您的盒子aiboxd的IP地址
      device: `:9091/ks/device`, // 视频源增删改查
    };
  </script>
</head>

<body>
  <div class="layui-container" style="padding: 20px;">
    <div class="layui-card">
      <div class="layui-card-header">
        <h2>设备信息</h2>
      </div>
      <div class="layui-card-body">
        <form class="layui-form" action="" lay-filter="deviceForm">
          <div class="layui-form-item">
            <label class="layui-form-label">设备ID</label>
            <div class="layui-input-block">
              <input type="text" name="device_id" disabled lay-verify="required" placeholder="请输入" autocomplete="off"
                class="layui-input">
            </div>
          </div>
          <div class="layui-form-item">
            <label class="layui-form-label">名称</label>
            <div class="layui-input-block">
              <input type="text" name="device_name" lay-verify="required" placeholder="请输入" autocomplete="off"
                class="layui-input">
            </div>
          </div>
          <div class="layui-form-item">
            <label class="layui-form-label">设备描述</label>
            <div class="layui-input-block">
              <input type="text" name="device_desc" lay-verify="required" placeholder="请输入" autocomplete="off"
                class="layui-input">
            </div>
          </div>
          <div class="layui-form-item">
            <div class="layui-input-block">
              <button class="layui-btn" lay-submit lay-filter="saveData">保存</button>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>



  <!-- 引入Layui JS -->
  <script src="https://unpkg.com/layui@2.8.18/dist/layui.js"></script>
  <script src="public/jquery-1.10.2.min.js"></script>
  <script src="device.js"></script>
</body>

</html>